<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>jld.backup.gliffy_backup.Backup</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="jld-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="jld-module.html">Package&nbsp;jld</a> ::
        <a href="jld.backup-module.html">Package&nbsp;backup</a> ::
        <a href="jld.backup.gliffy_backup-module.html">Module&nbsp;gliffy_backup</a> ::
        Class&nbsp;Backup
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="jld.backup.gliffy_backup.Backup-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Backup</h1><p class="nomargin-top"><span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup">source&nbsp;code</a></span></p>
<pre class="base-tree">
 object --+    
          |    
<a href="jld.cmd.BaseCmd-class.html">cmd.BaseCmd</a> --+
              |
             <strong class="uidshort">Backup</strong>
</pre>

<hr />
<p>Gliffy Backup class</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="jld.backup.gliffy_backup.Backup-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Scans through all the methods of this instance and extracts all the 
      ones prefixed with 'cmd_'</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="jld.backup.gliffy_backup.Backup-class.html#_buildIdEtagList" class="summary-sig-name" onclick="show_private();">_buildIdEtagList</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">list</span>)</span><br />
      Builds a diagram id+etag list from a diagram object list</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._buildIdEtagList">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="jld.backup.gliffy_backup.Backup-class.html#_buildListToExport" class="summary-sig-name" onclick="show_private();">_buildListToExport</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">list</span>)</span><br />
      Builds the export list</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._buildListToExport">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_deleteDb"></a><span class="summary-sig-name">_deleteDb</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._deleteDb">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="jld.backup.gliffy_backup.Backup-class.html#_doImport" class="summary-sig-name" onclick="show_private();">_doImport</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">list</span>)</span><br />
      Imports the diagram ids' from the list into the database</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._doImport">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="jld.backup.gliffy_backup.Backup-class.html#_exportOne" class="summary-sig-name" onclick="show_private();">_exportOne</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">did</span>,
        <span class="summary-sig-arg">timestamp</span>)</span><br />
      Exports one diagram to the export folder</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._exportOne">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_extractHref"></a><span class="summary-sig-name">_extractHref</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">list</span>)</span><br />
      Extracts the URI from the HREF entries in the list</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._extractHref">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="jld.backup.gliffy_backup.Backup-class.html#_genFilePath" class="summary-sig-name" onclick="show_private();">_genFilePath</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">did</span>,
        <span class="summary-sig-arg">timestamp</span>)</span><br />
      Generates a filepath related to an export diagram.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._genFilePath">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_initDb"></a><span class="summary-sig-name">_initDb</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._initDb">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_initGliffy"></a><span class="summary-sig-name">_initGliffy</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._initGliffy">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_init_export_folder"></a><span class="summary-sig-name">_init_export_folder</span>(<span class="summary-sig-arg">self</span>)</span><br />
      Creates the export folder IF it does not already exists</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._init_export_folder">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_updateOne"></a><span class="summary-sig-name">_updateOne</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">diagram</span>,
        <span class="summary-sig-arg">etag</span>,
        <span class="summary-sig-arg">timestamp</span>)</span><br />
      Updates the database diagram entry</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._updateOne">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="_writeOne"></a><span class="summary-sig-name">_writeOne</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">did</span>,
        <span class="summary-sig-arg">data</span>,
        <span class="summary-sig-arg">timestamp</span>)</span><br />
      Writes one diagram to the export folder</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._writeOne">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="cmd_deletedb"></a><span class="summary-sig-name">cmd_deletedb</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>)</span><br />
      Deletes the database</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup.cmd_deletedb">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="cmd_export"></a><span class="summary-sig-name">cmd_export</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>)</span><br />
      Exports the diagrams to the export folder (logged)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup.cmd_export">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="cmd_import"></a><span class="summary-sig-name">cmd_import</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>)</span><br />
      Imports the diagram ids' from the Delicious database (logged)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup.cmd_import">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="cmd_listconfig"></a><span class="summary-sig-name">cmd_listconfig</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>)</span><br />
      Lists the configuration</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup.cmd_listconfig">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="cmd_listdb"></a><span class="summary-sig-name">cmd_listdb</span>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">*args</span>)</span><br />
      Lists the current entries in the database</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup.cmd_listdb">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="jld.cmd.BaseCmd-class.html">cmd.BaseCmd</a></code></b>:
      <code><a href="jld.cmd.BaseCmd-class.html#__contains__">__contains__</a></code>,
      <code><a href="jld.cmd.BaseCmd-class.html#__getitem__">__getitem__</a></code>,
      <code><a href="jld.cmd.BaseCmd-class.html#__iter__">__iter__</a></code>,
      <code><a href="jld.cmd.BaseCmd-class.html#configure">configure</a></code>,
      <code><a href="jld.cmd.BaseCmd-class.html#genCommandsHelp">genCommandsHelp</a></code>,
      <code><a href="jld.cmd.BaseCmd-class.html#next">next</a></code>,
      <code><a href="jld.cmd.BaseCmd-class.html#validateCommand">validateCommand</a></code>
      </p>
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__delattr__</code>,
      <code>__getattribute__</code>,
      <code>__hash__</code>,
      <code>__new__</code>,
      <code>__reduce__</code>,
      <code>__reduce_ex__</code>,
      <code>__repr__</code>,
      <code>__setattr__</code>,
      <code>__str__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== CLASS VARIABLES ==================== -->
<a name="section-ClassVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="jld.backup.gliffy_backup.Backup-class.html#_configParams" class="summary-name" onclick="show_private();">_configParams</a> = <code title="['export_path', 'export_maxnum', 'glf_db_path', 'dlc_db_path']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">export_path</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">export_maxnum</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">glf_db_path</code><code class="variable-quote">'</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="_regDomain"></a><span class="summary-name">_regDomain</span> = <code title="'gliffy'"><code class="variable-quote">'</code><code class="variable-string">gliffy</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
  <tr>
    <td colspan="2" class="summary">
    <div class="private">    <p class="indent-wrapped-lines"><b>Inherited from <code><a href="jld.cmd.BaseCmd-class.html">cmd.BaseCmd</a></code></b> (private):
      <code><a href="jld.cmd.BaseCmd-class.html#_platform_win32" onclick="show_private();">_platform_win32</a></code>
      </p></div>
    </td>
  </tr>
</table>
<!-- ==================== PROPERTIES ==================== -->
<a name="section-Properties"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Properties</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Properties"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
  <tr>
    <td colspan="2" class="summary">
    <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
      <code>__class__</code>
      </p>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Scans through all the methods of this instance and extracts all the 
  ones prefixed with 'cmd_'</p>
  <dl class="fields">
    <dt>Overrides:
        object.__init__
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="_buildIdEtagList"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_buildIdEtagList</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">list</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._buildIdEtagList">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Builds a diagram id+etag list from a diagram object list</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>list</code></strong> - the database diagram object list</li>
    </ul></dd>
    <dt>Returns:</dt>
        <dd>output diagram list consisting of (diagram, id,etag)</dd>
  </dl>
</td></tr></table>
</div>
<a name="_buildListToExport"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_buildListToExport</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">list</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._buildListToExport">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Builds the export list</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>list</code></strong> - the input diagram id+etag list</li>
    </ul></dd>
    <dt>Returns:</dt>
        <dd>the processed by diagram id list</dd>
  </dl>
</td></tr></table>
</div>
<a name="_doImport"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_doImport</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">list</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._doImport">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Imports the diagram ids' from the list into the database</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>list</code></strong> - diagram list</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="_exportOne"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_exportOne</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">did</span>,
        <span class="sig-arg">timestamp</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._exportOne">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Exports one diagram to the export folder</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>did</code></strong> - diagram id</li>
    </ul></dd>
    <dt>Returns:</dt>
        <dd>result, etag</dd>
  </dl>
</td></tr></table>
</div>
<a name="_genFilePath"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">_genFilePath</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">did</span>,
        <span class="sig-arg">timestamp</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="jld.backup.gliffy_backup-pysrc.html#Backup._genFilePath">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Generates a filepath related to an export diagram. Assumes a 'jpg' 
  extension.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== CLASS VARIABLE DETAILS ==================== -->
<a name="section-ClassVariableDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Class Variable Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-ClassVariableDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="_configParams"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">_configParams</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">export_path</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">export_maxnum</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">glf_db_path</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">dlc_db_path</code><code class="variable-quote">'</code><code class="variable-group">]</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="jld-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Tue Jan 06 22:12:07 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
